//
//  SQTimeView.h
//  ambition
//
//  Created by 周曼迪 on 2019/12/15.
//  Copyright © 2019 苏青. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void (^SQtimeViewBlock)(NSString * date,NSDate * theDate);
@interface SQTimeView : UIView
/**
 *  半透明View
 */
@property (strong, nonatomic) UIView *transparentView;
/**
 *  选择器
 */
@property (strong, nonatomic) UIDatePicker *datePicke;
/**
 *  选择回调
 */
@property (strong, nonatomic) SQtimeViewBlock  timeViewBlock;
/**
 *  确定按钮
 */
@property (strong, nonatomic) UIButton *determineButton;
/**
 *  取消按钮
 */
@property (strong, nonatomic) UIButton *cancelButton;
@property (copy, nonatomic) NSString *dateTime;
@property (copy, nonatomic) NSDate *thedateTime;
-(void)showWithChooseBlock:(SQtimeViewBlock )timeViewBlock;
@end

NS_ASSUME_NONNULL_END
